package com.alinesno.cloud.initializr.starter.entity;

import com.alinesno.cloud.common.facade.mapper.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * <p>
 *
 * </p>
 *
 * @author ${author}
 * @since 2020-11-20 10:06:08
 */
@TableName("initiallizr_dependence")
public class InitiallizrDependenceEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 组件名
     */
    @TableField("dep_name")
    private String depName;
    /**
     * 描述
     */
    @TableField("dep_desc")
    private String depDesc;
    /**
     * groupId坐标
     */
    @TableField("dep_gropu_id")
    private String depGropuId;
    /**
     * artifactId坐标
     */
    @TableField("dep_artifact_id")
    private String depArtifactId;
    /**
     * 组件版本(默认取alinesno.cloud.version环境变量)
     */
    @TableField("dep_version")
    private String depVersion;
    /**
     * 组件所在的组
     */
    @TableField("dep_buss_group")
    private String depBussGroup;

    @TableField(exist = false)
    private String depBussGroupName;

    public String getDepBussGroupName() {
        return depBussGroupName;
    }

    public InitiallizrDependenceEntity setDepBussGroupName(String depBussGroupName) {
        this.depBussGroupName = depBussGroupName;
        return this;
    }

    public String getDepName() {
        return depName;
    }

    public void setDepName(String depName) {
        this.depName = depName;
    }

    public String getDepDesc() {
        return depDesc;
    }

    public void setDepDesc(String depDesc) {
        this.depDesc = depDesc;
    }

    public String getDepGropuId() {
        return depGropuId;
    }

    public void setDepGropuId(String depGropuId) {
        this.depGropuId = depGropuId;
    }

    public String getDepArtifactId() {
        return depArtifactId;
    }

    public void setDepArtifactId(String depArtifactId) {
        this.depArtifactId = depArtifactId;
    }

    public String getDepVersion() {
        return depVersion;
    }

    public void setDepVersion(String depVersion) {
        this.depVersion = depVersion;
    }

    public String getDepBussGroup() {
        return depBussGroup;
    }

    public void setDepBussGroup(String depBussGroup) {
        this.depBussGroup = depBussGroup;
    }


    @Override
    public String toString() {
        return "InitiallizrDependenceEntity{" +
                "depName=" + depName +
                ", depDesc=" + depDesc +
                ", depGropuId=" + depGropuId +
                ", depArtifactId=" + depArtifactId +
                ", depVersion=" + depVersion +
                ", depBussGroup=" + depBussGroup +
                "}";
    }
}
